//init spawns #count tasks waits #time/1000 seconds and loops

// jump over the variables sections
jmp init

// define external the variables (just space reservations)
i:		.val 0
count:	.val 10
time:	.val 25000

// initialize the variables		
init:

jmp start

// the actual program
start:

mov i, 0

loop:
jeq i, count, sleep

// EXECVE
mov r0, 4
mov r1, 2
int 120

add i, 1
jmp loop

sleep:
mov r0, 1
mov r1, time
int 120
mov i ,0
jmp loop

end:
// EXIT
mov r0, 3
int 120

